package com.zuoshenge.main.service;

import com.zuoshenge.main.dao.MajorDao;
import com.zuoshenge.main.entity.Major;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MajorService {

    @Resource
    private MajorDao majorDao;

    public List<Major> queryAll() {
        return majorDao.queryAll();
    }
}
